//ConcreteBuilder.java
package builder.simplified.noAbstractBuilder;

/**
 *@author:youtubezou
 *@version:2012-7-15
 */
public class ConcreteBuilder {
	private Product product = new Product();
	
	public void buildPartOne(String name){
		product.setName(name);
	}


	public void buildPartTwo(double price) {
		product.setPrice(price);
	}

	public void buildPartThree(int size) {
		product.setSize(size);
	}

	public Product retrieveProduct() {
		return product;
	}
}
